<html>
	<head>
		<meta name="description" content="happy na i ka" />
		<meta name="keywords" content="Movie Anime Music Comic Game TV" />
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>
			Ika-
			{% if title %}
				{{ title }}
			{% else %}
				Ika
			{% endif %}
		</title>
		<link type="text/css" rel="stylesheet" href="/main.css" />
	</head>
	<body>
	    <div>
			<input type="button" value="Post Notice">
		</div>
	    <div id="notice">
				<a href="http://bilibili.us/announcement/index_25.html" target="_blank"><span>[12-10]</span>【公告：BILIBILI冬（BETA4）上线,新增功能与修改详细请看】</a>
				<a href="http://bilibili.us/announcement/index_27.html" target="_blank"><span>[12-12]</span>【公告：安全问题更新&举报相关机制更改！】</a>
				<a href="http://bilibili.us/member/index_do.php?fmdo=user&dopost=regnew" target="_blank"><span>[01-03]</span>【公告：开放注册~！】</a>
		</div>
		<div id='navigator'>
			<ul>
				{% for item in items %}
					<li class='splitter'>|</li>
					<li>{{item}}</li>
				{% endfor %}
			</ul>
			<div id='login_logout'>
				{% if user %}
					Hello 
					{% if not edit %}
						<a href='/userlist/{{ user.email }}/#'>{{ user.nickname }}</a>
					{% else %}
						{{ user.nickname }}
					{% endif %}  
					<a href='/post.php#'>Post issue</a>  
					<a href='{{log_in_out_url}}'>Log out</a>
				{% else %}
					You haven't log in
				<a href='{{log_in_out_url}}'>Log in</a>
				{% endif %}
			</div>
		</div>
	</body>
</html>
